package com.eduran.test.main;

import com.eduran.test.model.Robot_032;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class App_032 {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("beans_032.xml");

        Robot_032 robot = (Robot_032)context.getBean("robot_032");

        robot.speak();

        ((ClassPathXmlApplicationContext) context).close();
    }
}
